class MyClass 
{
   function foo() {
      var x:String = "This is a test";
      print(x)
   }
}

var x:MyClass = new MyClass();
if(x) {
   print("inside if");
}

x.foo();
print("Done");
